Set Selecting of Element
Command Prototype
UiElement.SetSelect(objUiElement,arrItem,sMode,optionArgs)
Command Description
Select elements (Elements you can manipulate include list boxes, drop-down list boxes, etc.)
Parameter Description
- Required Parameter
- objUiElement--Feature string of elements
- arrItem--Array of elements to select from (the way to select depends on sMode parameter)
- sMode--Method for selecting; when passing an index, select in the index order starting from 0; when passing a text, select by the text of options; when passing a value, select by the value attribute of options
- Optional Parameter
- bContinueOnError--Specify whether automation should continue if the activity throws an error. This field only supports Boolean values (True, False). The default is False
- iDelayAfter--The delay in milliseconds after the activity is executed. The default is 300 milliseconds
- iDelayBefore--The delay in milliseconds before the activity starts any operation. The default is 200 milliseconds